package kr.saeildadim.androidexam_saeildamil.chapter8;

import kr.saeildadim.androidexam_saeildamil.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class Ch08_Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch08_main);
	}
	public void mOnClick(View v){		
		switch (v.getId()) {
		case R.id.ch08_btn01:
			startActivity(new Intent(this, HanndleEvent.class));
			break;
		case R.id.ch08_btn02:
			startActivity(new Intent(this, AnnoyHandleEx.class));
			break;
		case R.id.ch08_btn03:
			startActivity(new Intent(this, handlerOrder.class));
			break;
		case R.id.ch08_btn04:
			startActivity(new Intent(this, HandlerAccess.class));
			break;
		case R.id.ch08_btn05:
			startActivity(new Intent(this, FreeLine.class));
			break;
		}
	}
}
